package com.ruoyi.master.service;

import java.util.List;
import com.ruoyi.master.domain.Strategy;

/**
 * 策略Service接口
 * 
 * @author jiandan
 * @date 2024-10-23
 */
public interface IStrategyService 
{
    /**
     * 查询策略
     * 
     * @param strategyId 策略主键
     * @return 策略
     */
    public Strategy selectStrategyByStrategyId(Long strategyId);

    /**
     * 查询策略列表
     * 
     * @param strategy 策略
     * @return 策略集合
     */
    public List<Strategy> selectStrategyList(Strategy strategy);

    /**
     * 新增策略
     * 
     * @param strategy 策略
     * @return 结果
     */
    public int insertStrategy(Strategy strategy);

    /**
     * 修改策略
     * 
     * @param strategy 策略
     * @return 结果
     */
    public int updateStrategy(Strategy strategy);

    /**
     * 批量删除策略
     * 
     * @param strategyIds 需要删除的策略主键集合
     * @return 结果
     */
    public int deleteStrategyByStrategyIds(Long[] strategyIds);

    /**
     * 删除策略信息
     * 
     * @param strategyId 策略主键
     * @return 结果
     */
    public int deleteStrategyByStrategyId(Long strategyId);
}
